<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="robots" content="all" />
<meta name="author" content="Neaton" />
<meta name="Copyright" content="mr-fang.com" />
<meta name="Description" content="/>
<meta name="Keywords" content=""/>
<title>{$cate.c_title} - mr-fang.com</title>
{literal}
<style>
body,div,form,img,p,ul,ol,li,dl,dt,dd,embed,h1,h2,h3,h4,h5,h6,td,tr,span,fieldset,label,legend{margin:0; padding:0; border:0;}
body{color:#595959;font-family:Verdana,Tahoma,Helvetica,Arial,"宋体";font-size:12px;line-height:22px;background:url('/misc/images/bg.jpg');}
a{text-decoration:none;color:#000000}
#main{width:100%;padding:0;text-align:center}
#nav{margin-top:65px}
#nav .current{color:#993300}
a:hover{color:#993300}
#content{margin-top:25px;width:937px}
#logo{margin-top:15px;}
#footer{margin-top:10px;color:#000000}
#hr{height:1px;line-height:1px;width:600px;background-color:gray;}
#cates, #lists{float:left;}
#cates {width:20%}
#lists{width:80%}
.messageBox{text-align:left;width:50%;}
.messageBox td{border-bottom:1px solid gray;}
</style>
{/literal}
</head>
<body>

<div id="main">
    <div id="nav">
        {foreach from=$firstLevelCates item=c}
        <a href="{$c.c_link}" {if $controllerName eq $c.c_controller}class="current"{/if}>{$c.c_title}</a>
        {/foreach}
    </div>

    <center>
    <div id="content">
        <div id="cates">
            <img src="/misc/images/photo_logo.gif">
            <div><a href="/photo/news">最新</a></div>
            {foreach from=$cates item=c}
            <div><a href="/photo/list?cid={$c.cid}">{$c.c_title}</a></div>
            {/foreach}
        </div>
        <div id="lists">
            {foreach from=$articles item=a}
            {if $a.a_cover_id}
            <div
            style="float:left;width:155px;height:140px;margin-right:10px;margin-bottom:10px;border:1px solid #BFBFBF;">
                <div style="width:100%;height:115px;overflow:hidden">
                <a href="/photo/view?aid={$a.aid}"><img
                src='/photos/{$a.a_cover_src}' style="filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"
                onmouseover="this.style.filter='progid:DXImageTransform.Microsoft.BasicImage(grayscale=0)'"
                onmouseout="this.style.filter='progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)'" ></a></div>
                <div style="width:85%;height:30px;line-height:30px">
                <span style="float:left"><a href="/photo/view?aid={$a.aid}">{$a.a_title}</a></span> 
                <span style="float:right;color:#990000">Mr.F</span></div>
            </div>
            {/if}
            {/foreach}
        </div>
    </div>

    <div style="clear:both"></div>
    <div id="footer">
        {if $page}
            <div id="page">
            <a href="?cid={$smarty.get.cid}&page=1">首页</a>
            <a href="?cid={$smarty.get.cid}&page={$page.currentPage-1}">上一页</a>
            <a href="?cid={$smarty.get.cid}&page={$page.currentPage+1}">下一页</a>
            <a href="?cid={$smarty.get.cid}&page={$page.pages}">尾页</a>
            页次：{$page.currentPage}/{$page.pages} 共有 {$page.totalItems} 条记录
            </div>
        {/if}

        <table class="messageBox" align="center"><tr><td style="border:0">
        <span style="float:left"><img src="/misc/images/little_logo.gif"></span>
        <span style="float:right">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=1&uin=1175766980&site=qq&menu=yes">
        <img border="0" src="http://wpa.qq.com/pa?p=2:1175766980:41" alt="点击这里发消息" title="点击这里发消息">
        </a>

        <a target="_blank" href="http://wpa.qq.com/msgrd?v=1&uin=948073336&site=qq&menu=yes">
        <img border="0" src="http://wpa.qq.com/pa?p=2:948073336:41" alt="点击这里发消息" title="点击这里发消息">
        </a>
        </span>
        </td></tr></table>
        <div id="hr">&nbsp;</div>
        <div>
            {$intro.i_shopname}地址：{$intro.i_address}<br />
            电话：{$intro.i_telphone}<br />
        </div>
    </div>
    </center>
</div>
